package br.com.winesys.geta.databinding.component.table.renderers;

import java.awt.Component;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;

public class NoBorderTableCellRenderer extends DefaultTableCellRenderer {

  public NoBorderTableCellRenderer() {
  }

  @Override
  public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
    Component c = super.getTableCellRendererComponent(table, value, isSelected, false, row, column);
    return c;
  }
}
